<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1" />
  <title>FastSpeech 2 Audio Samples</title>
  <style>
    body {
      margin: 0;
      padding: 10px 30px;
      background: #fff;
      color: #111;
      font-size: 17px;
      font-family: sans-serif;
      font-weight: 400;
      line-height: 1.8;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    img {
      width: 30%;
    }
  </style>
</head>

<body>
  Audio samples and spectrograms generated by <a href="https://github.com/ming024/FastSpeech2">ming024's FastSpeech2
    implementation</a>.

  <hr>
  <table>
    <thead>
      <tr>
        <th style="text-align: center">Very Long Sentence Generation</th>
      </tr>
    </thead>
    <tbody>
      <td style="text-align: center"><audio controls="controls">
          <source src="./demo/long_sentence.wav" autoplay /></audio></td>
      </tr>
    </tbody>
  </table>
  <em>Advanced text to speech models such as FastSpeech can synthesize speech significantly faster than previous
    autoregressive models with comparable quality. The training of FastSpeech model relies on an autoregressive teacher
    model for duration prediction and knowledge distillation, which can ease the one-to-many mapping problem in TTS.
    However, FastSpeech has several disadvantages: 1) the teacher student distillation pipeline is complicated, 2) the
    duration extracted from the teacher model is not accurate enough, and the target mel-spectrograms distilled from
    teacher model suffer from information loss due to data simplification, both of which limit the voice quality.</em>
  <hr>

  <ul>
    <li>These samples are generated by a model trained for 300k steps
      <a href="https://drive.google.com/file/d/1jXNDPMt1ybTN97_MztoTFyrPIthoQuSO/view?usp=sharing">checkpoint</a>.</li>
    <li>These sentences are the first 10 sentences in the held-out validation set (LJ001, LJ002 and LJ003).</li>
    <li>These samples are selected without any human inspection.</li>
    <li>All synthesized samples are converted from mel-spectrograms to audio signals by <a
        href="https://github.com/NVIDIA/waveglow">NVIDIA's pretrained Waveglow</a> and <a
        href="https://github.com/seungwonpark/melgan">seungwonpark's pretrained MelGAN</a>.</li>
  </ul>

  <hr>

  <table>
    <thead>
      <tr>
        <th style="text-align: center">Ground-Truth</th>
        <th style="text-align: center">Ground-Truth(WaveGlow)</th>
        <th style="text-align: center">Synthesized(WaveGlow)</th>
        <th style="text-align: center">Synthesized(MelGAN)</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/LJ001-0001.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/ground-truth_1_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_1_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_1_melgan.wav" autoplay /></audio></td>
      </tr>
    </tbody>
  </table>
  <em>Printing, in the only sense with which we are at present concerned, differs from most if not from all the arts and
    crafts represented in the Exhibition</em>

  <hr>

  <table>
    <thead>
      <tr>
        <th style="text-align: center">Ground-Truth</th>
        <th style="text-align: center">Ground-Truth(WaveGlow)</th>
        <th style="text-align: center">Synthesized(WaveGlow)</th>
        <th style="text-align: center">Synthesized(MelGAN)</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/LJ001-0002.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/ground-truth_2_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_2_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_2_melgan.wav" autoplay /></audio></td>
      </tr>
    </tbody>
  </table>
  <em>in being comparatively modern.</em>

  <hr>

  <table>
    <thead>
      <tr>
        <th style="text-align: center">Ground-Truth</th>
        <th style="text-align: center">Ground-Truth(WaveGlow)</th>
        <th style="text-align: center">Synthesized(WaveGlow)</th>
        <th style="text-align: center">Synthesized(MelGAN)</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/LJ001-0003.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/ground-truth_3_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_3_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_3_melgan.wav" autoplay /></audio></td>
      </tr>
    </tbody>
  </table>
  <em>For although the Chinese took impressions from wood blocks engraved in relief for centuries before the woodcutters
    of the Netherlands, by a similar process</em>

  <hr>

  <table>
    <thead>
      <tr>
        <th style="text-align: center">Ground-Truth</th>
        <th style="text-align: center">Ground-Truth(WaveGlow)</th>
        <th style="text-align: center">Synthesized(WaveGlow)</th>
        <th style="text-align: center">Synthesized(MelGAN)</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/LJ001-0004.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/ground-truth_4_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_4_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_4_melgan.wav" autoplay /></audio></td>
      </tr>
    </tbody>
  </table>
  <em>produced the block books, which were the immediate predecessors of the true printed book,</em>

  <hr>

  <table>
    <thead>
      <tr>
        <th style="text-align: center">Ground-Truth</th>
        <th style="text-align: center">Ground-Truth(WaveGlow)</th>
        <th style="text-align: center">Synthesized(WaveGlow)</th>
        <th style="text-align: center">Synthesized(MelGAN)</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/LJ001-0005.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/ground-truth_5_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_5_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_5_melgan.wav" autoplay /></audio></td>
      </tr>
    </tbody>
  </table>
  <em>the invention of movable metal letters in the middle of the fifteenth century may justly be considered as the
    invention of the art of printing.</em>

  <hr>

  <table>
    <thead>
      <tr>
        <th style="text-align: center">Ground-Truth</th>
        <th style="text-align: center">Ground-Truth(WaveGlow)</th>
        <th style="text-align: center">Synthesized(WaveGlow)</th>
        <th style="text-align: center">Synthesized(MelGAN)</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/LJ001-0006.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/ground-truth_6_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_6_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_6_melgan.wav" autoplay /></audio></td>
      </tr>
    </tbody>
  </table>
  <em>And it is worth mention in passing that, as an example of fine typography,</em>

  <hr>

  <table>
    <thead>
      <tr>
        <th style="text-align: center">Ground-Truth</th>
        <th style="text-align: center">Ground-Truth(WaveGlow)</th>
        <th style="text-align: center">Synthesized(WaveGlow)</th>
        <th style="text-align: center">Synthesized(MelGAN)</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/LJ001-0007.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/ground-truth_7_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_7_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_7_melgan.wav" autoplay /></audio></td>
      </tr>
    </tbody>
  </table>
  <em>the earliest book printed with movable types, the Gutenberg, or "forty-two line Bible" of about 1455,</em>

  <hr>

  <table>
    <thead>
      <tr>
        <th style="text-align: center">Ground-Truth</th>
        <th style="text-align: center">Ground-Truth(WaveGlow)</th>
        <th style="text-align: center">Synthesized(WaveGlow)</th>
        <th style="text-align: center">Synthesized(MelGAN)</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/LJ001-0008.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/ground-truth_8_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_8_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_8_melgan.wav" autoplay /></audio></td>
      </tr>
    </tbody>
  </table>
  <em>has never been surpassed.</em>

  <hr>

  <table>
    <thead>
      <tr>
        <th style="text-align: center">Ground-Truth</th>
        <th style="text-align: center">Ground-Truth(WaveGlow)</th>
        <th style="text-align: center">Synthesized(WaveGlow)</th>
        <th style="text-align: center">Synthesized(MelGAN)</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/LJ001-0009.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/ground-truth_9_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_9_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_9_melgan.wav" autoplay /></audio></td>
      </tr>
    </tbody>
  </table>
  <em>Printing, then, for our purpose, may be considered as the art of making books by means of movable types.</em>

  <hr>

  <table>
    <thead>
      <tr>
        <th style="text-align: center">Ground-Truth</th>
        <th style="text-align: center">Ground-Truth(WaveGlow)</th>
        <th style="text-align: center">Synthesized(WaveGlow)</th>
        <th style="text-align: center">Synthesized(MelGAN)</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/LJ001-0010.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/ground-truth_10_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_10_waveglow.wav" autoplay /></audio></td>
        <td style="text-align: center"><audio controls="controls">
            <source src="./demo/step_300000_10_melgan.wav" autoplay /></audio></td>
      </tr>
    </tbody>
  </table>
  <em>Now, as all books not primarily intended as picture-books consist principally of types composed to form
    letterpress,</em>
</body>

</html>